package net.xinshi.service.business;

import net.xinshi.model.*;

import java.util.Map;

/**
 * @author <a href="mailto:liukuo@xinshi.net">liukuo</a>
 * @version 1.0
 * @description
 * @since 2017/6/27.
 */
public interface IApiService {
    ApiOutputDTO queryApi(BaseIdInputDTO input);

    Integer saveApi(ApiInputDTO input);

    BasePageOutputDTO<ApiOutputDTO> queryApiList(ApiPageInputDTO input);

    Map<String, ApiOutputDTO> getApiMap();

    void refreshApi();

    Integer updateApi(ApiInputDTO input);

    Integer deleteApi(BaseIdInputDTO input);
}
